<template lang="html">
    <div id="temp">
        <comment :id="id"></comment>
    </div>
</template>
<script type="text/ecmascript-6">
    import comment from '../subcom/comment.vue'
    export default{
        components:{
            comment
        },
        data(){
            return {
                id:0
            }
        },
        created(){
            this.id = this.$route.params.id;
        }
    
    }
</script>
<style scoped>

</style>